Move O(n) operations to the initializer in exact_geodesics#201
Move O(n) operations to the initializer in exact_geodesics#201yutanoma wants to merge 2 commits intonmwsharp:masterfrom
Conversation
|
Hey, looks like I forgot to merge this from ages ago -- my apologies! Looking at it now, I have a question, it's not clear to me what Is it that |
bf0d89b to
05487e4
Compare
|
I started to clean this up to merge, but then I realized it doesn't really make sense to me. I don't see how it improves O(n) behavior for multiple paths. I'm going to close this for now assuming it's stale code. Just let me know if I have misunderstood and we can reopen it. |
Fixed
exact_geodesicsso that you do not need to run O(n) operations whenever you query the geodesic path.This is especially useful when you have a fixed mesh/geometry and want to query the geodesic path multiple times.
Summary of contribution
geom.requireCornerAngles()andgeom.requireVertexGaussianCurvatures()to the initializerclear_data()that clears the data except the ones associated with the mesh/geometryUsage